body{
    position: relative;
    min-width: 320px;
    max-width:540px;
    margin: 0 auto;
    background-color:  #fff;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system,Helvetica,sans-serif;
}
*{
    -webkit-tap-highlight-color: transparent;
}
/* 在移动端浏览器默认的外观在ios上加上这个属性才能给按钮和输入框自定义样式 */
input{
    -webkit-appearance: none;
}
/* 禁用长按页面时的弹出菜单 */
img,a{
    -webkit-touch-callout: none;
}

/* 页面提示部分 */
.top-tips{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-color:#333;
    line-height: 45px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    z-index: 20;
}
.top-tips div:nth-child(1){
    float:left;
    width:8%;
}
.top-tips div:nth-child(1) img{
    width: 10px;
    vertical-align: middle;
}
.top-tips div:nth-child(2){
    float:left;
    width:10%;
}
.top-tips div:nth-child(2) img{
    width: 30px;
    vertical-align: middle;
}
.top-tips div:nth-child(3){
    float:left;
    width:57%;
}
.top-tips div:nth-child(4){
    float:left;
    width:25%;
    background-color: #f63515;
}

/* 搜索框 圣杯布局*/
.search-box{
    background-color: #c82519;
    position: fixed;
    top: 45px;
    left: 0;
    width: 100%;
    height: 44px;
    z-index: 20;
}
.search-box .search-btn{
    position:absolute;
    left:0;
    top:0;
    width:40px;
    height:44px;
}
.search-box .search-btn span{
    display: block;
    width:40px;
    height:44px;
    margin: 14px 0 0 15px;
    background: url(../images/s-btn.png) no-repeat 0 0;
    background-size: 20px 18px;
}
.search-box .login{
    position:absolute;
    right:0;
    top:0;
    width:40px;
    height:44px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    line-height: 44px;
}
.search-box .search{
    position: relative;
    height: 30px;
    margin: 7px 50px;
    border-radius: 15px;
    background-color: #fff;
}
.search-box .search span{
    float: left;
    position: relative;
    width:20px;
    height:15px;
    margin: 8px 8px 0 15px;
    background: url(../images/logo2.png) no-repeat 0 0;
    background-size: 20px 15px;
}
.search-box .search span::after{
    content: "";
    position: absolute;
    right: -8px;
    width: 1px;
    height: 15px;
    background-color: #ccc;
}
.search-box .search i{
    float: left;
    position: relative;
    width:18px;
    height:15px;
    margin: 8px 8px 0 15px;
    background: url(../images/jd-sprites.png) no-repeat -82px 0;
    background-size: 200px 200px;
}
.search-box .search input{
    position: absolute;
    left: 0;
    top: 0;
    width:100%;
    height:100%;
    padding: 0 20px 0 78px;
    border: none;
    background-color: transparent;
    font-size: 12px;
}

/* banner 区域 */
.content {
    width: 100%;
    margin-top: 45px;
    background-color: #f6f6f6;
}
/* 焦点图区域 */
.banner {
    position: relative;
    width: 100%;
    height: 187px;
    overflow: hidden;
}
.banner .banner-bg{
    position: absolute;
    left: -25%;
    width: 150%;
    height: 145px;
    border-bottom-left-radius: 100%;
    border-bottom-right-radius: 100%;
    background-image: linear-gradient(0deg, #f1503b, #c82519 50%);
}
.banner ul{
    position: relative;
}
.banner ul{
    position: relative;
    margin: 0;
    list-style: none;
}
.banner ul li{
    position: absolute;
    left:0;
    top:0;
    width: 100%;
    height: 187px;
    padding: 44px 3.33% 0;
    box-sizing: border-box;
}
.banner ul li:nth-child(2) {
    left: 100%;
}
.banner ul li:nth-child(3) {
    left: 200%;
}
.banner ul li a {
    display: block;
}
.banner ul li a img {
    display: block;
    width: 100%;
    border-radius: 10px;
}
.content .banner ol{
    position: absolute;
    left: 30%;
    bottom: 5px;
    height: 6px;
    width: 75px;
    margin-left: 12.5px;
    list-style: none;
}
.content .banner ol li{
    float: left;
    width: 7px;
    height: 4px;
    border-radius: 3px;
    margin: 0 3px;
    background-color: rgba(255,255,255,0.4);
}
.content .banner ol li.current{
    width: 9px;
    margin: 0 1px;
    background-color: #fff;
}

/* 优惠 */
.coupon{
    width: 100%;
    overflow: hidden;
}
.coupon a{
    float: left;
    width: 33.3%;
}
.coupon a img{
    display: block;
    width: 100%;
}
/* 导航区域 */
nav{
    position: relative;
    width: 100%;
    height: 162px;
    overflow: hidden;
}
nav .mall-nav{
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden; 
}
nav .mall-nav-2{
    left: 100%;
}
nav .mall-nav a{
    float: left;
    width: 20%;
    color: #666;
    text-decoration: none;
    text-align: center;
    font-size: 12px;
}
nav .mall-nav a img{
    display: block;
    width: 40px;
    margin: 10px auto 0;
}
nav .mall-nav a span{
    display: block;
    margin-top: 6px;
    height: 18px;
    line-height: 18px;
}
/* 新人专享 */
.new{
    margin: 10px;
    overflow: hidden;
}
.new a{
    float: left;
    width: 50%;
}
.new a img{
    display: block;
    width: 100%;
}

/* products */
.products{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
}
.products li{
    display: inline-block;
    box-sizing: border-box;
    width: 45%;
    margin-left: 3%;
    background-color: #fff;
    margin-bottom: 3%;
    border-radius: 5px;
}
.products li .product-img{
    display: block;
    width: 100%;

}
/* 172.5 * 264 */
.products li .product-img img{
    overflow: hidden;
    display: block;
    width: 100%;
}
.products li .product-text{
    box-sizing: border-box;
    height: 31px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    margin-top: 5px;
    line-height: 16px;
    color: #1a1a1a;
    padding: 0 4px;
}
.products li .product-bottom{
    position: relative;
    font-size: 16px;
}
.products li .product-bottom i{
    color: red;
}
.products li .products-similar{
    position: absolute;
    bottom: 3px;
    right: 5px;
    text-decoration: none;
    font-size: 14px;
    color:grey;
    border-radius: 3px;
    background-color: #f0f2f5;
}

/* footer */
footer .footer-fuc {
    display: flex;
    color: #848689;
    justify-content: space-around;
    box-sizing: border-box;
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    padding: 4.26667vw 5.33333vw;
}
footer .ui-change ul{
    display: flex;
    justify-content: space-around;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
footer .ui-change li{
    float: left;
}
footer .ui-change li img{
    height: 60px;
}

footer .copyright p{
    text-align: center;
    color: #848689;
    font-size: 12px;
}

.common-nav ul{
    list-style: none;
    margin:0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}
.common-nav ul li{
    width: 60px;
}
.common-nav ul li img{
    width: 100%;
}

/* m-back-to-top */

element.style {
    display: inline;
}
.m-back-to-top {
    /* display: none; */
    position: fixed;
    bottom: 120px;
    right: 9px;
    width: 38px;
    height: 38px;
    background-image: url();
    background-size: 38px 38px;
    background-repeat: no-repeat;
    background-position: 50%;
    z-index: 20;
}